package cn.edu.ren.service;

import cn.edu.ren.entity.Student;

import java.util.Collection;

/**
 * @PackageName: cn.edu.ren.service
 * @ClassName: IStudentService
 * @Description:
 * @author: RZS
 * @date: 2021/6/16  23:54
 */
public interface IStudentService {
    /**
     * 定义曾删改查方法
     */
    void insert(Student student);

    Collection<Student> selectAll();

    Student selectById(Integer id);

    void deleteById(Integer id);

    void updateById(Student student, Integer id);
}
